﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TfsIdentity.cs" company="Jim Liddell">
//   Copyright © Jim Liddell. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace TeamBuildBunny
{
    #region Usings

    using System;
    using System.Xml.Serialization;

    #endregion

    /// <summary>
    /// Type which holds information about the Team Foundation Server which raised the event
    /// </summary>
    [Serializable]
    [XmlType(AnonymousType = true)]
    [XmlRoot(Namespace = "", IsNullable = false, ElementName = "TeamFoundationServer")]
    public class TfsIdentity
    {
        #region Properties

        /// <summary>
        /// Gets or sets the URL for the <see cref="TfsIdentity"/>.
        /// </summary>
        /// <remarks>
        /// </remarks>
        [XmlAttribute("url")]
        public string Url
        {
            get;
            set;
        }

        #endregion
    }
}